#ifndef CONTROL_H
#define CONTROL_H

#include "porting_mspm0g3507.h"

#define MODE1_EVENT (1<<1)
#define MODE2_EVENT (1<<2)
#define MODE3_EVENT (1<<3)
#define MODE4_EVENT (1<<4)

typedef enum
{
    mode1 = 1,
    mode2,
    mode3,
    mode4,
}mode_e;

void ctr_thread_create(void);
void ctr_event_create(void);
void ctr_timer_create(void);

#endif